package com.sheep.api.hive.dao;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.hadoop.hive.HiveClient;
import org.springframework.data.hadoop.hive.HiveClientFactory;

/**
 * Created with IntelliJ IDEA.
 * User: Administrator
 * Date: 16-4-15
 * Time: 上午9:55
 * To change this template use File | Settings | File Templates.
 */
 public abstract class LocalHiveClientFactory {
    @Autowired
    private HiveClientFactory hiveClientFactory;

    protected HiveClient getHiveClient() {
        return hiveClientFactory.getHiveClient();
    }
}
